Cloudinary\Media D

Total Complexity 285
Dependencies 12
Dependents 15
Total lines 2,437
Lines of code 1,232
Logical lines of code 676
Comment lines 934
Methods 77
Properties 14

Methods 77

Method Rating Maintainability Complexity Lines of code
image_srcset()
A
40 13 63
down_sync_asset()
A
41 9 57
media_column_value()
A
45 10 40
get_crop()
A
47 10 35
get_size_from_url()
A
50 10 27
prepare_size()
A
50 10 27
filter_downsize()
A
51 8 28
cloudinary_url()
A
46 7 39
get_public_id_from_url()
A
52 8 22
get_breakpoint_options()
A
48 7 32
get_asset_payload()
S
45 6 45
get_crop_from_transformation()
S
51 7 29
apply_default_transformations()
S
47 6 38
cloudinary_id()
S
54 7 22
get_transformations_from_string()
S
54 6 20
get_cloudinary_id()
S
55 6 19
get_public_id()
S
55 6 19
get_transformations()
S
56 6 18
attachment_url()
S
58 6 16
create_attachment()
S
48 4 32
setup()
S
47 4 32
is_cloudinary_sync_folder()
S
57 5 15
default_image_transformations()
S
59 5 14
get_context_options()
S
53 4 22
settings()
S
49 3 35
get_id_from_url()
S
55 4 19
get_resource_type()
S
59 4 16
get_post_meta()
S
62 5 10
manage_sizes()
S
62 4 12
get_id_from_sync_key()
S
54 3 21
default_max_width()
S
56 3 19
get_upload_options()
S
55 3 18
sanitize_breakpoints()
S
63 4 10
get_cloudinary_folder()
S
64 4 10
editor_assets()
S
52 2 24
update_post_meta()
S
63 3 10
get_transformation()
S
67 3 8
balance_crop()
S
63 3 10
maybe_overwrite_featured_image()
S
67 3 7
sanitize_cloudinary_folder()
S
68 3 7
set_transformation()
S
65 3 9
upgrade_settings()
S
61 2 12
convert_media_extension()
S
62 2 11
media_column()
S
61 2 11
get_convertible_extensions()
S
54 1 23
get_linked_attachments()
S
57 1 17
is_cloudinary_url()
S
66 2 8
pdf_resource_type()
S
71 2 6
is_file_compatible()
S
62 2 10
can_filter_out_local()
S
68 2 7
upgrade_media_settings()
S
67 2 8
get_cloudinary_version()
S
73 2 4
maybe_srcset_post_thumbnail()
S
67 2 8
set_doing_featured()
S
74 2 5
is_media()
S
64 2 9
is_local_media()
S
69 2 6
is_folder_synced()
S
66 2 8
get_media_delivery()
S
68 2 7
delete_post_meta()
S
68 2 7
default_image_freeform_transformations()
S
68 2 7
build_cached_meta()
S
68 2 7
get_transformation_from_meta()
S
68 2 7
convert_url()
S
68 2 7
uncropped_url()
S
62 2 10
has_public_id()
S
71 2 5
upload_dir()
S
76 1 4
is_enabled()
S
80 1 3
get_syncable_delivery_types()
S
71 1 6
get_compatible_media_types()
S
65 1 10
media_template()
S
79 1 7
get_cache_key()
S
75 1 4
is_preview_only()
S
65 1 9
apply_srcset()
S
67 1 7
get_media_type()
S
80 1 3
get_max_width()
S
80 1 3
get_file_type()
S
69 1 6
__construct()
S
75 1 4